package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.math.BigDecimal;
import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.CostBillExample.E_ANNEX_URL;
import static org.jsola.hr.example.CostBillExample.E_APPRO_COMPANY_ID;
import static org.jsola.hr.example.CostBillExample.E_APPRO_STATUS;
import static org.jsola.hr.example.CostBillExample.E_AUTO_SYSTEM;
import static org.jsola.hr.example.CostBillExample.E_BILL_NAME;
import static org.jsola.hr.example.CostBillExample.E_CALCULATE_SALARY_NUMBER;
import static org.jsola.hr.example.CostBillExample.E_COMPANY_ID;
import static org.jsola.hr.example.CostBillExample.E_COMPANY_NAME;
import static org.jsola.hr.example.CostBillExample.E_COMPANY_PF_AMOUNT;
import static org.jsola.hr.example.CostBillExample.E_COMPANY_SOC_AMOUNT;
import static org.jsola.hr.example.CostBillExample.E_FINAL_AMOUNT;
import static org.jsola.hr.example.CostBillExample.E_FINE;
import static org.jsola.hr.example.CostBillExample.E_IS_CONFIRM;
import static org.jsola.hr.example.CostBillExample.E_IS_MERGE;
import static org.jsola.hr.example.CostBillExample.E_MONTH;
import static org.jsola.hr.example.CostBillExample.E_NUMBER;
import static org.jsola.hr.example.CostBillExample.E_PAYROLL_NAME;
import static org.jsola.hr.example.CostBillExample.E_PERSONAL_PF_AMOUNT;
import static org.jsola.hr.example.CostBillExample.E_PERSONAL_SOC_AMOUNT;
import static org.jsola.hr.example.CostBillExample.E_SUBJECT_ID;
import static org.jsola.hr.example.CostBillExample.E_SUBJECT_TYPE;
import static org.jsola.hr.example.CostBillExample.E_TOTAL_AMOUNT;
import static org.jsola.hr.example.CostBillExample.E_TOTAL_TAX;
import static org.jsola.hr.example.CostBillExample.E_USER_APPRO_ID;
import static org.jsola.hr.example.CostBillExample.E_YEAR;
import static org.jsola.hr.example.CostBillExample.N_ANNEX_URL;
import static org.jsola.hr.example.CostBillExample.N_APPRO_COMPANY_ID;
import static org.jsola.hr.example.CostBillExample.N_APPRO_STATUS;
import static org.jsola.hr.example.CostBillExample.N_AUTO_SYSTEM;
import static org.jsola.hr.example.CostBillExample.N_BILL_NAME;
import static org.jsola.hr.example.CostBillExample.N_CALCULATE_SALARY_NUMBER;
import static org.jsola.hr.example.CostBillExample.N_COMPANY_ID;
import static org.jsola.hr.example.CostBillExample.N_COMPANY_NAME;
import static org.jsola.hr.example.CostBillExample.N_COMPANY_PF_AMOUNT;
import static org.jsola.hr.example.CostBillExample.N_COMPANY_SOC_AMOUNT;
import static org.jsola.hr.example.CostBillExample.N_FINAL_AMOUNT;
import static org.jsola.hr.example.CostBillExample.N_FINE;
import static org.jsola.hr.example.CostBillExample.N_IS_CONFIRM;
import static org.jsola.hr.example.CostBillExample.N_IS_MERGE;
import static org.jsola.hr.example.CostBillExample.N_MONTH;
import static org.jsola.hr.example.CostBillExample.N_NUMBER;
import static org.jsola.hr.example.CostBillExample.N_PAYROLL_NAME;
import static org.jsola.hr.example.CostBillExample.N_PERSONAL_PF_AMOUNT;
import static org.jsola.hr.example.CostBillExample.N_PERSONAL_SOC_AMOUNT;
import static org.jsola.hr.example.CostBillExample.N_SUBJECT_ID;
import static org.jsola.hr.example.CostBillExample.N_SUBJECT_TYPE;
import static org.jsola.hr.example.CostBillExample.N_TOTAL_AMOUNT;
import static org.jsola.hr.example.CostBillExample.N_TOTAL_TAX;
import static org.jsola.hr.example.CostBillExample.N_USER_APPRO_ID;
import static org.jsola.hr.example.CostBillExample.N_YEAR;

/**
 * 费用账单
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【费用账单】列表展示对象")
@Data
public class CostBillListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_ANNEX_URL, example = E_ANNEX_URL)
    private String annexUrl;

    @ApiModelProperty(notes = N_AUTO_SYSTEM, example = E_AUTO_SYSTEM)
    private Boolean autoSystem;

    @ApiModelProperty(notes = N_NUMBER, example = E_NUMBER)
    private Integer number;

    @ApiModelProperty(notes = N_YEAR, example = E_YEAR)
    private Integer year;

    @ApiModelProperty(notes = N_MONTH, example = E_MONTH)
    private Integer month;

    @ApiModelProperty(notes = N_APPRO_COMPANY_ID, example = E_APPRO_COMPANY_ID)
    private String approCompanyId;

    @ApiModelProperty(notes = N_APPRO_STATUS, example = E_APPRO_STATUS)
    private Integer approStatus;

    @ApiModelProperty(notes = N_SUBJECT_TYPE, example = E_SUBJECT_TYPE)
    private String subjectType;

    @ApiModelProperty(notes = N_SUBJECT_ID, example = E_SUBJECT_ID)
    private String subjectId;

    @ApiModelProperty(notes = N_BILL_NAME, example = E_BILL_NAME)
    private String billName;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_COMPANY_NAME, example = E_COMPANY_NAME)
    private String companyName;

    @ApiModelProperty(notes = N_PERSONAL_SOC_AMOUNT, example = E_PERSONAL_SOC_AMOUNT)
    private BigDecimal personalSocAmount;

    @ApiModelProperty(notes = N_PERSONAL_PF_AMOUNT, example = E_PERSONAL_PF_AMOUNT)
    private BigDecimal personalPfAmount;

    @ApiModelProperty(notes = N_COMPANY_SOC_AMOUNT, example = E_COMPANY_SOC_AMOUNT)
    private BigDecimal companySocAmount;

    @ApiModelProperty(notes = N_COMPANY_PF_AMOUNT, example = E_COMPANY_PF_AMOUNT)
    private BigDecimal companyPfAmount;

    @ApiModelProperty(notes = N_FINE, example = E_FINE)
    private BigDecimal fine;

    @ApiModelProperty(notes = N_CALCULATE_SALARY_NUMBER, example = E_CALCULATE_SALARY_NUMBER)
    private Integer calculateSalaryNumber;

    @ApiModelProperty(notes = N_PAYROLL_NAME, example = E_PAYROLL_NAME)
    private String payrollName;

    @ApiModelProperty(notes = N_TOTAL_TAX, example = E_TOTAL_TAX)
    private BigDecimal totalTax;

    @ApiModelProperty(notes = N_TOTAL_AMOUNT, example = E_TOTAL_AMOUNT)
    private BigDecimal totalAmount;

    @ApiModelProperty(notes = N_FINAL_AMOUNT, example = E_FINAL_AMOUNT)
    private BigDecimal finalAmount;

    @ApiModelProperty(notes = N_IS_CONFIRM, example = E_IS_CONFIRM)
    private Boolean isConfirm;

    @ApiModelProperty(notes = N_USER_APPRO_ID, example = E_USER_APPRO_ID)
    private String userApproId;

    @ApiModelProperty(notes = N_IS_MERGE, example = E_IS_MERGE)
    private Boolean isMerge;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

